<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>
</head>
<body onload="alert(multiply()); alert(add(100,20,65));">
<script type="text/javascript">
function add(a, b, c)
{
	return a+b+c;
}
</script>

<script type="text/javascript">
function multiply()
{  
	var max=100;
	var rezultat= 1;
	for (var i=1; i<max; i++)
	{
		if(i%2 != 0)
			{
				rezultat=rezultat*i;
			}
	}
	return rezultat;
}
</script>


</body>
</html>